package com.pope.framework.rescue.modular.mapper;

import com.pope.framework.rescue.modular.entity.RescueInfo;
import com.pope.framework.triage.modular.vo.TriageSimpleInfoVo;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * <p>
 * 离抢信息 Mapper 接口
 * </p>
 *
 * @author superpope
 * @since 2019-01-16
 */
public interface RescueInfoMapper extends BaseMapper<RescueInfo> {
	 IPage<TriageSimpleInfoVo> selectSimpleList(Page<TriageSimpleInfoVo> page, @Param("name") String name,@Param("beginDate") String beginDate,
			 @Param("endDate") String endDate,@Param("triageState") String triageState,@Param("hospitalId")Integer hospitalId,@Param("emergencyNumber") String emergencyNumber);
	 
	 List<Map<String,Object>> selectDepartPatientsNumber(@Param("beginDate") String beginDate,@Param("endDate") String endDate,@Param("hospitalId")Integer hospitalId,@Param("whereAbouts") String whereAbouts);
	 
}
